package com.demo.entity;

import java.util.List;

public class Course {
    private String id;

    private String coursename;
    
    private List<Student> student;
    
	

	public List<Student> getStudent() {
		return student;
	}

	public void setStudent(List<Student> student) {
		this.student = student;
	}

	public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getCoursename() {
        return coursename;
    }

    public void setCoursename(String coursename) {
        this.coursename = coursename == null ? null : coursename.trim();
    }

	@Override
	public String toString() {
		return "Course [id=" + id + ", coursename=" + coursename + ", student=" + student + "]";
	}

	/*@Override
	public String toString() {
		return "Course [id=" + id + ", coursename=" + coursename + ", student=" + student + "]";
	}*/

	

	
}